package org.dim.oa.dto;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDTO implements Serializable {
    @NotEmpty(message = "userName must not empty")
    private String userName;
    @NotEmpty(message = "password must not empty")
    private String password;
    private String remark;
    private String roleName;
    private String avatar;
}
